package com.night.xjh.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @ClassName: VisitVo
 * @Description: //TODO
 * @author: xjh
 * @date: 2022/10/24-9:17
 * @version: v1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class VisitVo {
    private Integer id;
    @NotNull(message = "名字不能为空")
    private String name;
    @NotNull(message = "联系电话不能为空")
    private String phone;
    @NotNull(message = "参观时间不能为空")
    private String visitDate;
    private Integer pageNum;
    private Integer pageSize;
    private String startDate;
    private String endDate;
}
